<template>
    <div id="app" class="main-level">
        <div align="center">
            <HeadTone/>
            <div class="main-hd-lv-1"></div>
            <div class="main-level-1"><router-view/></div>
            <BottomTone/>
        </div>
    </div>
</template>

<script>
    import HeadTone from "./system/HeadTone";
    import BottomTone from "./system/BottomTone";

    export default {
        name: 'App',
        components: {
            HeadTone,
            BottomTone
        },
        data() {
            return {}
        }
    }
</script>

<style>
    *{padding: 0; margin: 0;}
    #app {
        font-family: 'Courier New', '楷体'; /*Avenir, Helvetica, Arial, sans-serif;*/
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #000;
        position:absolute;
        bottom:0px; 
        right:0px;
        height: 100%;
    }

    body {
        margin: 0;
        display: grid;
        position:relative;
        align-items: center; /*定义body的元素垂直居中*/
        justify-content: center; /*定义body的里的元素水平居中*/
    }

    .main-level {
        width: 100%;
        height: 50%;
        background: #e6e6e6;
        position: absolute;
        top: 0;
        margin: 0;
        left: 0;
    }
    .main-hd-lv-1 {
        padding: 10px;
    }
</style>
